.header {
  width: 100%;
  /* 实际占有高 */
  height: 44px;
  min-width: 320px;
  /* 最大宽度 只能用px */
  max-width: 540px;
  padding: 7px 50px 0 8px;
  /* 固定定位 脱标  水平居中和绝对定位一样*/
  position: fixed;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  /* 最小宽度 */
  border-bottom: 1px solid #cccccc;
  border-top: 1px solid #cccccc;
  /* 内减盒模型 */
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 98;
}
.header .search {
  /* 标准流 */
  width: 100%;
  height: 28px;
  color: #808080;
  line-height: 24px;
  padding-left: 35px;
  /* 内减盒 */
  box-sizing: border-box;
  border: 1px solid #ececed;
  box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.1);
  border-radius: 28px;
  background-color: #fff;
  position: relative;
  z-index: 99;
}
.header .search span {
  height: 28px;
  line-height: 28px;
  font-size: 0.9rem;
}
.header .search span::before {
  /* 移动端图片 图片放大两倍  缩小一半使用 */
  content: "";
  /* 行内元素 参考: 距离最近且有定位的祖先元素*/
  position: absolute;
  left: 12px;
  top: 5px;
  width: 18px;
  height: 18px;
  overflow: hidden;
  background: url(../img/home-common-sprite2x@v7.15.png) no-repeat 0 0;
  background-size: 21px auto;
}
.header .login {
  /* 固定值  绝对定位 子绝父固 */
  position: absolute;
  width: 50px;
  height: 39px;
  right: 0;
  top: 4px;
  /* 文字 */
  color: #fff;
  font-size: 0.7rem;
  text-align: center;
  line-height: 14px;
}
.header .login span {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0 auto;
  background: url(../img/home-common-sprite2x@v7.15.png) no-repeat;
  background-position: 1px -36px;
  background-size: 21px auto;
}
/* 轮播图部分 */
.banner {
  width: 100%;
  min-width: 320px;
  max-width: 540px;
  /* 省略高度 内容撑开 */
  height: 260px;
  margin: -30px auto 0;
  border-bottom-right-radius: 10%;
  border-bottom-left-radius: 10%;
  position: relative;
  overflow: hidden;
}
.banner #carousel {
  position: absolute;
  width: 400%;
  height: 100%;
  left: 0;
  top: 0;
}
.banner #carousel ul li {
  float: left;
  width: 25%;
}
.banner #carousel img {
  display: block;
  width: 100%;
  height: 100%;
}
/* 主导航一 */
.main-one {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 94%;
  min-width: 300px;
  max-width: 520px;
  height: 60px;
  margin: -40px auto 10px;
  padding: 4px 0 8px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  position: relative;
  z-index: 11;
}
.main-one a {
  display: block;
  line-height: 10px;
  color: #222;
  font-size: 12px;
}
.main-one a span:first-child {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-image: url(../img/home-fivemain-sprite2x@v7.15.png);
  background-repeat: no-repeat;
  background-size: 40px auto;
}
.main-one a:nth-child(2) span:first-child {
  background-position: 0 -40px;
}
.main-one a:nth-child(3) span:first-child {
  background-position: 0 -80px;
}
.main-one a:nth-child(4) span:first-child {
  background-position: 0 -120px;
}
.main-one a:nth-child(5) span:first-child {
  background-position: 0 -160px;
}
/* 主导航二 */
.main-two {
  width: 94%;
  min-width: 320px;
  max-width: 540px;
  height: 196px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
}
.main-two ul {
  width: 100%;
  height: 100%;
}
.main-two li {
  float: left;
  height: 33.3%;
  width: 23%;
  border-bottom: 1px solid #fff;
  position: relative;
  background-color: #53bbed;
}
.main-two li:nth-child(n+8) {
  border-bottom: none;
}
.main-two li:nth-child(1),
.main-two li:nth-child(4),
.main-two li:nth-child(8) {
  width: 31%;
}
.main-two li:nth-child(1) a,
.main-two li:nth-child(4) a,
.main-two li:nth-child(8) a {
  margin-left: -30px;
}
.main-two li:nth-child(1) {
  background: linear-gradient(to right, #fa5a56, #f98d75);
}
.main-two li:nth-child(2) {
  background: linear-gradient(to right, #f98d75, #f58d5c);
}
.main-two li:nth-child(3) {
  width: 46%;
  background: linear-gradient(to right, #ffbc49, #fed367);
}
.main-two li:nth-child(4) {
  background: linear-gradient(to bottom right, #5179b1, #55a8fa);
}
.main-two li:nth-child(5) {
  background: linear-gradient(to bottom right, #4d8fd1, #53bbed);
}
.main-two li:nth-child(8) {
  background: linear-gradient(to bottom right, #35c2a9, #45c890);
}
.main-two li:nth-child(9) {
  background: linear-gradient(to bottom right, #46c88e, #6dcf8f);
}
.main-two li:nth-child(10) {
  background: linear-gradient(to top right, #66d18b, #5fd16a);
}
.main-two li:nth-child(11) {
  background: linear-gradient(to bottom right, #67d172, #63c552);
}
.main-two li span {
  display: block;
  width: 100%;
  height: 100%;
}
.main-two li:nth-child(3) span {
  background-image: url(../img/grid-nav-items-jhj@v7.15.png);
  background-size: 86px auto;
  background-position: right bottom;
  background-repeat: no-repeat;
}
.main-two li:first-child span,
.main-two li:nth-child(4) span,
.main-two li:nth-child(8) span {
  background-image: url(../img/grid-nav-items-hotel@v7.15.png);
  background-size: 73px auto;
  background-position: right bottom;
  background-repeat: no-repeat;
}
.main-two li:nth-child(4) span {
  background-image: url(../img/grid-nav-items-flight@v7.15.png);
  background-size: 79px auto;
}
.main-two li:nth-child(8) span {
  background-image: url(../img/grid-nav-items-travel@v7.15.png);
  background-size: 94px auto;
}
.main-two li:nth-child(2) span,
.main-two li:nth-child(5) span,
.main-two li:nth-child(9) span {
  background-image: url(../img/grid-nav-items-minsu@v7.15.png);
  background-size: 37px auto;
  background-position: left bottom;
  background-repeat: no-repeat;
}
.main-two li:nth-child(5) span {
  background-image: url(../img/grid-nav-items-train.png);
}
.main-two li:nth-child(9) span {
  background-image: url(../img/grid-nav-items-dingzhi@v7.15.png);
  background-size: 61px auto;
}
.main-two li a {
  display: inline-block;
  font-size: 14px;
  width: 100%;
  text-align: center;
  position: absolute;
  top: 50%;
  margin-top: -10px;
}
.main-two li:nth-child(3) a {
  color: #b36a21;
}
.main-two li:nth-child(3) em {
  font-size: 0.63rem;
  color: #fff;
  background-color: #f54c45;
  border-radius: 7px 7px 7px 0;
  position: absolute;
  top: 7px;
  right: 20%;
  padding: 2px 5px;
}
/* 主导航三 */
.main-three {
  width: 94%;
  min-width: 320px;
  max-width: 540px;
  height: 105px;
  margin: 12px auto;
}
.main-three div {
  display: flex;
  justify-content: space-around;
  width: 100%;
  height: 50%;
}
.main-three a {
  display: block;
  height: 100%;
  width: 16%;
  color: #000;
  font-size: 0.63rem;
  text-align: center;
}
.main-three a::before {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  background-image: url(../img/un_ico_subnav2x@v7.152.png);
  background-size: 28px auto;
  background-repeat: no-repeat;
  margin: 0.63rem auto 0.31rem;
}
.main-three div:first-child a:nth-child(2)::before {
  background-position: 0 -28px;
}
.main-three div:first-child a:nth-child(3)::before {
  background-position: 0 -56px;
}
.main-three div:first-child a:nth-child(4)::before {
  background-position: 0 -84px;
}
.main-three div:first-child a:nth-child(5)::before {
  background-position: 0 -112px;
}
.main-three div:last-child a:nth-child(1)::before {
  background-position: 0 -140px;
}
.main-three div:last-child a:nth-child(2)::before {
  background-position: 0 -168px;
}
.main-three div:last-child a:nth-child(3)::before {
  background-position: 0 -196px;
}
.main-three div:last-child a:nth-child(4)::before {
  background-position: 0 -224px;
}
.main-three div:last-child a:nth-child(5)::before {
  background-position: 0 -256px;
}
/* 热门活动 */
.sales-box {
  width: 100%;
  min-width: 320px;
  max-width: 540px;
  margin: 0 auto;
  overflow: hidden;
}
.sales-box .sales-hd {
  width: 100%;
  border-top: 1px solid #d3d3d3;
  border-bottom: 1px solid #d3d3d3;
  box-sizing: border-box;
  background-color: #fff;
  position: relative;
}
.sales-box .sales-hd .title {
  padding-top: 44px;
  height: 0;
  overflow: hidden;
}
.sales-box .sales-hd .title .icon-gg {
  position: absolute;
  left: 90px;
  top: 50%;
  background: url(../img/icon-guangao.png) no-repeat;
  background-size: 36px auto;
  width: 36px;
  height: 15px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.sales-box .sales-hd .title:after {
  content: '';
  display: inline-block;
  position: absolute;
  left: 12px;
  top: 50%;
  width: 79px;
  height: 15px;
  background: url(../img/un_home_text.png) no-repeat;
  background-position: 0 -19px;
  background-size: 79px auto;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.sales-box .sales-hd a {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  padding: 2px 20px 2px 10px;
  border-radius: 50px;
  background: linear-gradient(to right, #ff4e63, #ff6cc9);
}
.sales-box .sales-hd a:after {
  content: '';
  position: absolute;
  top: 6px;
  right: 9px;
  width: 7px;
  height: 7px;
  border: 2px solid #fff;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.sales-box .sales-bd {
  width: 100%;
}
.sales-box .sales-bd .row:nth-child(1) {
  height: 140px;
  display: flex;
  justify-content: space-between;
}
.sales-box .sales-bd .row:nth-child(n+2) {
  height: 88px;
  display: flex;
  justify-content: space-between;
}
.sales-box .sales-bd img {
  width: 50%;
  height: 100%;
  border-bottom: 1px solid #d3d3d3;
  box-sizing: border-box;
}
.sales-box .sales-bd img:nth-child(2n + 1) {
  border-right: 1px solid #d3d3d3;
}
.sales-box .sales-bd .row:last-child img {
  border-bottom: none;
}
/* 尾部 */
.tool-box {
  width: 100%;
  min-width: 320px;
  max-width: 540px;
  margin: 10px auto 0;
}
.tool-box .tool-cn {
  display: flex;
  justify-content: space-around;
  width: 100%;
  height: 60px;
  border-top: 1px solid #d3d3d3;
  border-bottom: 1px solid #ececec;
  box-sizing: border-box;
  background-color: #fff;
}
.tool-box .tool-cn a {
  color: #333;
  font-size: 12px;
  line-height: 90px;
  position: relative;
}
.tool-box .tool-cn a::before {
  content: "";
  width: 20px;
  height: 20px;
  background: url(../img/icon-footer.png) no-repeat -60px -150px;
  background-size: 104px 327.5px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}
.tool-box .tool-cn a:nth-child(2)::before {
  background-position: -60px -170px;
}
.tool-box .tool-cn a:nth-child(3)::before {
  background-position: -60px -308px;
}
.tool-box .tool-ver {
  margin: 5px auto;
  text-align: center;
}
.tool-box .tool-ver a {
  color: #676767;
  font-size: 0.75rem;
}
.tool-box .tool-ver .icon-global {
  display: inline-block;
  width: 11px;
  height: 11px;
  background: url(../img/un_icon_sites.png) no-repeat 0 -160px;
  background-size: 30px 183px;
  margin-right: 2px;
}
.tool-box .tool-ver .triangle {
  display: inline-block;
  width: 5px;
  height: 5px;
  border: 1px solid #666666;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
  vertical-align: 0.15rem;
  margin: 0 3px;
}
.tool-box p {
  margin: 0;
  padding: 5px 0;
  color: #999;
  font-size: 12px;
  text-align: center;
}
.tool-box p a {
  color: #999;
}
